// 实习相关api
import apiClient from './index'

export const internshipApi = {
    // 实习信息
    getInternshipDetail(internshipId) {
        return apiClient.get(`/internships/${internshipId}`)
    },

    assignTeacher(internshipId, teacherData) {
        return apiClient.put(`/internships/${internshipId}/assign-teacher`, teacherData)
    },

    updateMentorInfo(internshipId, mentorData) {
        return apiClient.put(`/internships/${internshipId}/mentor-info`, mentorData)
    },

    updateInternshipStatus(internshipId, statusData) {
        return apiClient.put(`/internships/${internshipId}/status`, statusData)
    },

    // 实习材料
    getInternshipMaterials(internshipId) {
        return apiClient.get(`/internship-materials/internship/${internshipId}`)
    }
}
